//
//  HeadZlineMassgeModel.m
//  YZZX
//
//  Created by Easaa on 15/5/11.
//  Copyright (c) 2015年 Easaa. All rights reserved.
//

#import "HeadZlineMassgeModel.h"

@implementation HeadZlineMassgeModel



- (id)initWithDataDic:(NSDictionary *)dic
{
    self=[super init];
    if (self)
    {
        self.Articles = [[NSMutableArray alloc]init];
        for (  NSDictionary  *dicsaa in [dic objectForKey:@"Articles"])
        {
            ZlineMassgeModel  *  mdoel = [[ZlineMassgeModel alloc]initWithDataDic:dicsaa];
            [self.Articles addObject:mdoel];
        }
        self.Image               =[dic objectForKey:@"Image"];
        self.CategoryName         =[dic objectForKey:@"CategoryName"];
        self.id_massge          =[[dic objectForKey:@"id"] stringValue];
        
    }
    return self;
    
}

@end
